package com.neusoft.mid.msf.common.msg;

import lombok.Data;

/**
 * @program: pangu
 * @description: 以对象作为rest接口返回值的类
 * @author: fengjd
 * @create: 2022-07-26 10:20
 **/
@Data
public class ObjectRestResponse<T> extends BaseResponse  {

//    返回的数据对象
    private T data;

    public ObjectRestResponse(T data) {
        this.data = data;
    }
}
